package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.Certificate;
import com.sfzy.entity.Chapters;
import com.sfzy.entity.ChargingStandards;

import java.util.List;

public interface ChaptersService {
    //增加Chapters
    int insertChapters(Chapters chapters);
    //删除
    int deleteChapters(int id);
    //修改
    int updateChapters(Chapters chapters);
    //根据id查询
    List<Chapters> selectChaptersById3(int id);
    //分页查询
    List<Chapters> selectAllChapters3(Chapters chapters);
    PageInfo<Chapters> selectChapters3(Chapters chapters, int pageNum, int pageSize);
}
